using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.doctorUserInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string DoctorUser_ID= strid;
					ShowInfo(DoctorUser_ID);
				}
			}
		}
		
	private void ShowInfo(string DoctorUser_ID)
	{
		Maticsoft.BLL.Register.doctorUserInfo bll=new Maticsoft.BLL.Register.doctorUserInfo();
		Maticsoft.Model.Register.doctorUserInfo model=bll.GetModel(DoctorUser_ID);
		this.lblDoctorUser_ID.Text=model.DoctorUser_ID;
		this.lblDoctor_ID.Text=model.Doctor_ID;
		this.lblDoctorUser_UserName.Text=model.DoctorUser_UserName;
		this.lblDoctorUser_Password.Text=model.DoctorUser_Password;
		this.lblDoctorUser_EnrollTime.Text=model.DoctorUser_EnrollTime.ToString();
		this.lblDoctorUser_AddTime.Text=model.DoctorUser_AddTime.ToString();
		this.lblDoctorUser_Recoder.Text=model.DoctorUser_Recoder;
		this.lblDoctorUser_LastAmendPerson.Text=model.DoctorUser_LastAmendPerson;
		this.lblDoctorUser_LastAmendTime.Text=model.DoctorUser_LastAmendTime.ToString();
		this.lblDoctorUser_LastRegTime.Text=model.DoctorUser_LastRegTime.ToString();
		this.lblDoctorUser_State.Text=model.DoctorUser_State;

	}


    }
}
